<template>
	<view>
		<!-- 		<view >
			
		</view> -->
		<image style="display: block;" v-for="(item,index) in images_ary" :key="index" :src="item" class="w100"
			mode="widthFix"></image>
	</view>
</template>

<script>
	export default {
		data() {
			return {
				id: '',
				images_ary: []
			}
		},
		onLoad(options) {
			this.id = options.id
			this.getdetailAPI()

		},
		methods: {
			async getdetailAPI() {
				const res = await this.$api.getdetail({
					id: this.id
				})
				this.images_ary = res.data.images_ary
				uni.setNavigationBarTitle({
					title: res.data.resource_name
				})
			}
		}
	}
</script>

<style>

</style>